import request from "@/utils/request"
import {qsStringify} from "@/utils/common"

// 查询雨水控制数据的Api
export const selectRainControlDataApi = (data: {devId: number}) => {
	return request.post("/customData3/select" + "?" + qsStringify(data))
}

// 修改雨水控制数据的Api
export const sendSwitchApi = (data: {devGId: string; userId: string | number; data: string}) => {
	return request.post("/exc/sendSwitch2" + "?" + qsStringify(data))
}
